/**
 * 定义rb中面板 rb的结果
 * name属性没有指定
 */
Ext.define('Risk.view.rb.RbResult', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.rbResult',
    title: '计算结果',
    layout: {
        type:'table',
        columns: 2
   },
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
        this.items = [
                 {
                        readOnly : true,
                        name:'r1lb',
                        itemId:'lb1',
                        xtype:'textfield',
                        style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                        fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                        fieldLabel:'R1中的[Lb]',
                        
                        labelWidth:165
              },
              {
                  readOnly : true,
                  name:'r2lb',
                  itemId:'lb2',
                  xtype:'textfield',
                  style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                  fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                  //TODO
                  fieldLabel:'R2中的[LB]',
                  labelWidth:165
             },
             {
                 readOnly : true,
                 itemId:'lb3',
                 name:'r3lb',
                 xtype:'textfield',
                 style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                 fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                 //TODO
                 fieldLabel:'R3中的[LB]',
                 labelWidth:165
            },
           {
                readOnly : true,
                itemId:'r1',
                name:'r1rb',
                vtype:'number',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                fieldLabel:'R1中直接雷击建筑物-物理损害风险分量[RB]',
                labelWidth:165
           },
           {
                readOnly : true,
                itemId:'r2',
                name:'r2rb',
                vtype:'number',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                fieldLabel:'R2中直接雷击建筑物-物理损害风险分量[RB]',
                labelWidth:165
          },
          {
                readOnly : true,
                itemId:'r3',
                name:'r3rb',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                vtype:'number',
                fieldLabel:'R3中直接雷击建筑物-物理损害风险分量[RB]',
                labelWidth:165
          }
        ];
        this.callParent(arguments);
    }
});